package game.business

import game.model.View

/**
 * 攻击能力
 */
interface AttackAble: View {

    /**
     * 所有者
     */
    val source:View

    /**
     * 攻击力
     */
    val attackPower:Int


    //判断是否发生碰撞
    fun isCollision(sufferAble: SufferAble):Boolean

    //通知产生碰撞
    fun notifyAttack(sufferAble: SufferAble)
}